package com.liu.demo.prository;

import com.liu.demo.pojo.Student;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface StudnetPrository extends JpaRepository<Student,Integer> {
    List<Student> findByNameLike(String name);

    Student findByIdLike(Integer id);

    List<Student> findByNameAndId(String name, Integer id);
}
